package com.gitee.feizns.zxw.domain.pojo;

import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.util.Date;
import java.io.Serializable;

import com.gitee.feizns.bean.Convertible;
import com.gitee.feizns.web.dao.ar.AbstractModel;
import com.gitee.feizns.web.dao.handler.meta.annotation.Now;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 区域推荐文化
 * @author feizns
 * @since  2019/09/09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class DestinationAreasRecommendCultures extends AbstractModel<DestinationAreasRecommendCultures> implements Serializable, Convertible {

    private static final long serialVersionUID = 10078945172L;

    /**
     * 编号
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 标题
     */
    private String title;

    /**
     * 图片
     */
    private String img;

    /**
     * 链接
     */
    private String link;

    /**
     * 区域编号
     */
    private Integer areaId;

    /**
     * 区域名称
     */
    private String areaName;

    /**
     * 权重
     */
    private Integer weight;

    /**
     * 创建时间
     */
    @Now
    @TableField(fill = FieldFill.INSERT)
    private Date createdAt;

}
